package com.ysxsoft.wdg.bean.response;

import android.os.Parcel;
import android.os.Parcelable;

public class MyAddressBean implements Parcelable{


    /**
     * id : 3
     * status : 1
     * name : 测试11
     * phone : 12312341234
     * address : 大学科技园
     * province : 河南省
     * city : 郑州市
     * county : 中原区
     * uid : 10
     */

    private String id;
    private int status;
    private String name;
    private String phone;
    private String address;
    private String province;
    private String city;
    private String county;
    private String uid;

    protected MyAddressBean(Parcel in) {
        id = in.readString();
        status = in.readInt();
        name = in.readString();
        phone = in.readString();
        address = in.readString();
        province = in.readString();
        city = in.readString();
        county = in.readString();
        uid = in.readString();
    }

    public static final Creator<MyAddressBean> CREATOR = new Creator<MyAddressBean>() {
        @Override
        public MyAddressBean createFromParcel(Parcel in) {
            return new MyAddressBean(in);
        }

        @Override
        public MyAddressBean[] newArray(int size) {
            return new MyAddressBean[size];
        }
    };

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(id);
        dest.writeInt(status);
        dest.writeString(name);
        dest.writeString(phone);
        dest.writeString(address);
        dest.writeString(province);
        dest.writeString(city);
        dest.writeString(county);
        dest.writeString(uid);
    }
}
